projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
394fe75
)
tests: Actually test pack functionality
author
Colin Walters
<walters@verbum.org>
Wed, 11 Apr 2012 23:48:22 +0000
(19:48 -0400)
committer
Colin Walters
<walters@verbum.org>
Wed, 11 Apr 2012 23:54:28 +0000
(19:54 -0400)
With --keep-loose we were just using the loose objects.
tests/t0001-archive.sh
patch
|
blob
|
history
diff --git
a/tests/t0001-archive.sh
b/tests/t0001-archive.sh
index 471273260373354c1e4af7d8260233634bc7414f..e7b2a7e02c23f7ea36d02349ce7da7f828e219e2 100755
(executable)
--- a/
tests/t0001-archive.sh
+++ b/
tests/t0001-archive.sh
@@
-21,7
+21,7
@@
set -e
. libtest.sh
-echo '1..1
9
'
+echo '1..1
8
'
setup_test_repository "archive"
echo "ok setup"
@@
-69,7
+69,7
@@
assert_file_has_content cow-contents "moo"
echo "ok cat-file"
cd ${test_tmpdir}
-$OSTREE pack
--keep-loose
+$OSTREE pack
echo "ok pack"
cd ${test_tmpdir}
@@
-79,10
+79,6
@@
echo "ok fsck"
$OSTREE checkout test2 checkout-test2-from-packed
echo "ok checkout union 1"
-cd ${test_tmpdir}
-$OSTREE pack
-echo "ok pack delete loose"
-
cd ${test_tmpdir}
$OSTREE fsck
echo "ok fsck"